﻿using System.ComponentModel;
using System.Diagnostics.Contracts;

namespace Library.Collections
{
    [ImmutableObject(true)]
    public interface IMapReadOnly
    {
        object this[object key]
        {
            [Pure]
            get;
        }
    }

    public interface IMapWriteOnly
    {
        object this[object key]
        {
            set;
        }
    }
}
